package com.ardf.mapper;

import com.ardf.entity.Team;
import com.ardf.entity.dto.AthleteTeamDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ShiYunHao
 * @since 2025-01-06
 */
public interface TeamMapper extends BaseMapper<Team> {

    /**
     * author:容伟洪
     * time:2025-3-7
     * description：根据队伍id查找所有的接力人员
     */
    List<AthleteTeamDto> selectAtheleByTId(@Param("teamId")Long teamId,@Param("projectId")Long projectId);


}
